package com.hit.eduService.client;

import com.hit.userManageService.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="service-userManagement",fallback = UserManageDegradeFeignClient.class)
public interface UserManageClient {
    //根据用户id获取用户信息
    @GetMapping("/userManageService/ucenter-member/getInfoUc/{id}")
    public UcenterMember getInfo(@PathVariable String id);

}
